package zyh.struts2.action2;

import java.util.List;

public class StrutsReturn {
    private boolean success;
    private String message;
    private long total;
    private List<Object> rows;
    private int offset;
    private int offsetSize;

    public boolean isSuccess() { return success; }

    public void setSuccess(boolean success) { this.success = success; }

    public String getMessage() { return message; }

    public void setMessage(String message) { this.message = message; }

    public long getTotal() { return total; }

    public void setTotal(long total) { this.total = total; }

    public List<Object> getRows() { return rows;}

    public void setRows(List<Object> rows) { this.rows = rows; }

    public int getOffset() { return offset;}

    public void setOffset(int offset) { this.offset = offset; }

    public int getOffsetSize() { return offsetSize; }

    public void setOffsetSize(int offsetSize) { this.offsetSize = offsetSize; }
}
